Inline spinlocks
Revert "Inline spinlocks"

This reverts commit c0d5f3bd47d4e483a66f9466cd85c8b9f3c8a02a.

Didn't seem to make any difference and benchmarked slower.
Include link time optimiziation flag