updated source rebuild and link options