Arduino linking assembler funtions
I found the answer myself here. So either you write to the libraries or you recompile the IDE. But never mind, it works! A bit messy (as expected). 
Please note that the folder, the .h file and the .S file, but not the function itself, must all have the same name.