Revert "Add Compiler flag `-fPIC`"

This reverts commit 4024a165cfcd15b1420c510a4fbea1008d2c00ea.
Revert "Fixed bug with register casting from exposed interface to internal interface"

This reverts commit 63d09d88318aa671bde5fc71c1f56c1a5b7248ba.